package com.oilsection.demo.dao;
import org.springframework.data.jpa.repository.JpaRepository;
import com.oilsection.demo.po.JcdInfoTable;

import java.util.List;
import java.util.Optional;

public interface GetJcdListSourceDao extends JpaRepository<JcdInfoTable,String>{
    List<JcdInfoTable> findByJzId(String jzId);

    List<JcdInfoTable> findByJcdName(String jcdName);
    List<JcdInfoTable> findByJcdNameAndJzId(String jcdName,String jzId);

    Optional<JcdInfoTable> findById(String jcdId);
}
